package edu.wit.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import edu.wit.system.domain.dto.ApplyAttachDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author yyh
 * @email 664287382@qq.com
 * @date 2021-05-26 11:45:36
 */
@Getter
@Setter
@ToString
@ApiModel(value = "月工资审批流程接受类")
public class AffairsApplyWorkflowVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@ApiModelProperty(value = " 长度<19,0>")
	@NotNull(message="流程ID不能为空")
	private Long workflowId;
	/**
	 *
	 */
	@ApiModelProperty(value = " 长度<500>")
	//@NotBlank(message="申请原因不能为空")
	private String applyReason;
	/**
	 *
	 */
	@ApiModelProperty(value = " 长度")
	@JsonFormat(pattern = "yyyy-MM-dd")
	//@NotNull(message="开始时间不能为空")
	private Date startTime;
	/**
	 *
	 */
	@ApiModelProperty(value = " 长度")
	//@NotNull(message="结束时间不能为空")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endTime;
	List<ApplyAttachDto> attachList;

	@ApiModelProperty(value = "节点审批人id")
	private List<ExamineIdsVo> examineIds;

	@ApiModelProperty(value = " 长度<19,0>")
	private String projectId;
	@ApiModelProperty(value = "劳务公司id<19,0>")
	private Long companyId;

	@ApiModelProperty(value = "劳务代发人员ids<19,0>")
	private List<Long> personIds;
}

